'use strict';

function calculate_elements_sum(collection) {
  return collection.reduce(function(item1,item2){
    return item1+item2;
  });
}

module.exports = calculate_elements_sum;

